package com.chinackts.exceptionadvice.event;

import org.springframework.context.ApplicationEvent;


/**
 * @author Lianhong
 * @since 2021/2/5
 */
public class SingleWindowCollectionErrorEvent extends ApplicationEvent {

    private final String title;
    private final String message;

    public SingleWindowCollectionErrorEvent(Object source, String title, String message) {
        super(source);
        this.title = title;
        this.message = message;
    }

    public String getTitle() {
        return title;
    }

    public String getMessage() {
        return message;
    }

}
